package cc.wsyw126.java.dto;

/**
 * Created by junpeng.yang on 16/10/16.
 */
public class CSV {
    private int id;
    private int buId;
    private int managerId;
    private int resourceType;
    private int resourceId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBuId() {
        return buId;
    }

    public void setBuId(int buId) {
        this.buId = buId;
    }

    public int getManagerId() {
        return managerId;
    }

    public void setManagerId(int managerId) {
        this.managerId = managerId;
    }

    public int getResourceType() {
        return resourceType;
    }

    public void setResourceType(int resourceType) {
        this.resourceType = resourceType;
    }

    public int getResourceId() {
        return resourceId;
    }

    public void setResourceId(int resourceId) {
        this.resourceId = resourceId;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CSV{");
        sb.append("id=").append(id);
        sb.append(", buId=").append(buId);
        sb.append(", managerId=").append(managerId);
        sb.append(", resourceType=").append(resourceType);
        sb.append(", resourceId=").append(resourceId);
        sb.append('}');
        return sb.toString();
    }

    protected String child() {
        final StringBuilder sb = new StringBuilder();
        sb.append("id=").append(id);
        sb.append(", buId=").append(buId);
        sb.append(", managerId=").append(managerId);
        sb.append(", resourceType=").append(resourceType);
        sb.append(", resourceId=").append(resourceId);
        return sb.toString();
    }
}
